package com.itmake.sample.server.monitor.model.vo.server;

/**
 * 响应-服务器 Jvm 信息
 *
 * @author Amjacks
 * @since 2023/08/10
 */
public class JvmVo {

    /**
     * 当前 JVM 占用的内存总数 (M)
     */
    private Double total;

    /**
     * JVM 最大可用内存总数 (M)
     */
    private Double max;

    /**
     * JVM 空闲内存 (M)
     */
    private Double free;

    /**
     * JDK 版本
     */
    private String version;

    /**
     * JDK 路径
     */
    private String home;

    /**
     * 开始时间
     */
    private String startTime;

    /**
     * 运行时间
     */
    private String runTime;

    /**
     * 使用率
     */
    private Double usage;

    /**
     * 已使用
     */
    private Double used;

    /**
     * JDK 名称
     */
    private String name;

    public Double getTotal() {
        return total;
    }

    public void setTotal(Double total) {
        this.total = total;
    }

    public Double getMax() {
        return max;
    }

    public void setMax(Double max) {
        this.max = max;
    }

    public Double getFree() {
        return free;
    }

    public void setFree(Double free) {
        this.free = free;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getHome() {
        return home;
    }

    public void setHome(String home) {
        this.home = home;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getRunTime() {
        return runTime;
    }

    public void setRunTime(String runTime) {
        this.runTime = runTime;
    }

    public Double getUsage() {
        return usage;
    }

    public void setUsage(Double usage) {
        this.usage = usage;
    }

    public Double getUsed() {
        return used;
    }

    public void setUsed(Double used) {
        this.used = used;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}

